# -*- coding: utf-8 -*-#
#-------------------------------------------------------------------------------
# 建立者:        Young  
# Name:         less2_02
# Description:
# Author:       asus
# Date:         2019/3/23
#-------------------------------------------------------------------------------



# 不管发不发生异常，都会执行finally语句
a = 10
b = 0

def div(a,b):
    c = 0
    try:
        c = a / b
    except Exception as e:
        print(e)
        return None # 这个return没有作用
    finally:
        c = c + 100
        return c

if __name__ == '__main__':
    d = div(a,b)
    print(d)